package com.sunny.excel.dto.excel;


import com.sunny.excel.annotation.ExcelMultiCol;

import java.lang.reflect.Field;


public class ExcelMultiColWithField {
    public final String header;
    public final String fieldName;
    public final ExcelMultiCol excelCol;
    public final Field field;
    public final String dataFormat;

    public ExcelMultiColWithField(ExcelMultiCol excelCol, Field field) {
        this.header = excelCol.regex();
        this.excelCol = excelCol;
        this.field = field;
        this.fieldName = field.getName();
        this.dataFormat = excelCol.dataFormat();
    }
}
